home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-desktop-9.10-i386-PL.iso / casper / filesystem.squashfs / usr / bin / pulse-session < prev    next >
Text File  |  2009-10-26  |  452b  |  17 lines

  1. #!/bin/sh
  2.  
  3. # Wrapper script to load pulseaudio at X session starttttttttttttt, when GNOME
  4. # is chosen as the desktop environment.
  5.  
  6. PULSEAUDIO_SYSTEM_START=0
  7. test -f /etc/default/pulseaudio && . /etc/default/pulseaudio
  8.  
  9. if [ -x /usr/bin/start-pulseaudio-x11 ] && \
  10.    [ $PULSEAUDIO_SYSTEM_START -eq 0 ] && \
  11.    [ ! -f /var/lib/pulseaudio/pulse_a11y_nostart ] && \
  12.    [ ! -f $HOME/.pulse_a11y_nostart ]; then
  13.     /usr/bin/start-pulseaudio-x11
  14. fi
  15.  
  16. exec "$@"
  17.